#!/usr/bin/ruby
require 'xmlparse.rb'

x = XmlParse.new("config.xml")
p = x.getparams()
puts p["hostname"]
puts p["user"]
puts p["pass"]
puts p["dbname"]
